package com.zjy.business.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjy.business.system.domain.entity.SysUser;
import com.zjy.business.system.domain.manager.query.ManagerListPageSysUserQuery;
import com.zjy.business.system.domain.manager.vo.ManagerListPageSysUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yxb
 * create_time: 2024-10-22 14:42
 * description: 
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<ManagerListPageSysUserVo> listPageSysUser(@Param("query") ManagerListPageSysUserQuery query);

    List<Long> getUserIdByMenuId(@Param("menuId") Long menuId);

    List<Long> getUserIdByRoleId(@Param("roleId") Long roleId);
}
